home *** CD-ROM | disk | FTP | other *** search
/ Net Yaroze Software Development Disc (USA, Europe) / Net Yaroze Software Development Disc (USA, Europe).bin / scee / pipex / dial / solo2 / copykern.bat < prev    next >
DOS Batch File  |  1996-10-24  |  1KB  |  52 lines

  1. @echo off
  2.  
  3. rem
  4. rem  Batch file to copy the PC/TCP kernel into the
  5. rem  Dial directory, plus any other files that may
  6. rem  be in use by Windows at the time of installation.
  7. rem
  8. rem  Arguments:
  9. rem
  10. rem     %1 Dial drive
  11. rem     %2 Dial directory
  12. rem     %3 WINDOWS directory
  13. rem     %4 WINDOWS\SYSTEM directory
  14. rem
  15.  
  16. rem delete setup program first
  17. del %4\soloset.exe
  18.  
  19. rem change to Dial drive
  20. %1
  21.  
  22. rem change to Dial directory
  23. cd %2
  24.  
  25. rem copy vxdpctcp.386
  26. if exist pctcp\vxdpctcp.386 del pctcp\vxdpctcp.386
  27. copy vxdpctcp.386 pctcp\vxdpctcp.386
  28. del vxdpctcp.386
  29.  
  30. rem copy wcomapi.dll
  31. if exist pctcp\wcomapi.dll del pctcp\wcomapi.dll
  32. copy wcomapi.dll  pctcp\wcomapi.dll
  33. del wcomapi.dll
  34.  
  35. rem copy wcomvxd.386
  36. if exist pctcp\wcomvxd.386 del pctcp\wcomvxd.386
  37. copy wcomvxd.386  pctcp\wcomvxd.386
  38. del wcomvxd.386
  39.  
  40. rem copy wnet386.dll
  41. if exist pctcp\wnet386.dll del pctcp\wnet386.dll
  42. copy wnet386.dll  pctcp\wnet386.dll
  43. del wnet386.dll
  44.  
  45. rem copy pctcpapi.dll
  46. if exist pctcp\pctcpapi.dll del pctcp\pctcpapi.dll
  47. copy pctcpapi.dll pctcp\pctcpapi.dll
  48. del pctcpapi.dll
  49.  
  50. rem reboot
  51. %3\reboot
  52.